import React, { FC } from 'react'
import './LoadingMain.less'
type TLoadingMain = {
  message: string
}
const LoadingMain: FC<TLoadingMain> = ({ message }) => {
  return (
    <div className="Back">
      <div className="loader" v-if="loading">
        <span style={{ color: '#6f6f6f', fontSize: '14px' }}>{message}</span>
        <svg width="100" height="100">
          <polygon className="triangle" fill="none" stroke="#7eccd8" stroke-width="4" points="50,1 99,99 1,99" />
        </svg>
      </div>
    </div>
  )
}
export default LoadingMain
